package com.feng.springboot.exception;

import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.thymeleaf.util.StringUtils;

@ControllerAdvice
public class GloabException {

    //@ExceptionHandler({ArithmeticException.class})
    public String exception1(){
        return "index";
    }
}
